<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\Model\Album
 *
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\Model\Album onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Query\Builder|\App\Model\Album withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\Model\Album withoutTrashed()
 * @mixin \Eloquent
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Album newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Album newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Album query()
 */
class Album extends Model
{
    use SoftDeletes;
    protected $table = 'album';
    //自动填充
    protected $fillable = ['uid', 'name', 'cover'];
}
